Skip to content

Edge: avoid unwelding G17P multiview mesh outputs - #422

Merged
DjDeveloperr merged 2 commits into
aurora-edgefrom
djdev/edge-g17p-mesh-layer
Nov 17, 2026
Merged

DjDeveloperr merged 2 commits into
aurora-edgefrom
djdev/edge-g17p-mesh-layer

Conversation

@DjDeveloperr

Copy link
Copy Markdown

Backport #391 onto Aurora Edge after the mesh correctness prerequisite. Write the workgroup view into the vertex Layer output so primitives can share vertices on the eligible G17P path.

This head has the exact tree used for the 138/0 Asahi CI run on 4780375. Its only source difference from the Neo H2 driver 6fd8163 is the test fixture. H2 passed all nine original mesh CTS failures and the 451,874-case fast gate with zero baseline regressions. Land the correctness PR first.

Complete index exports before entering the vertex phase and each
32-vertex batch before the next batch predicate. Represent the boundaries
in NIR and AIR, drain modeled explicit producers, and retain fail-closed
allocation, phase-order and channel-reuse checks.

Unlinked mesh interfaces can load UVS selectors between exports. Keep all
ordinary asynchronous producers in that interval on explicit slot 1 with
normal dependency/reuse waits, preserving required, transient, reissue and
joined protocols. Retain independent mesh output-limit encoding and the
0x40 pipeline template. Other chip paths remain unchanged.

Cover all twelve selector/cursor/system-read subcases, required-channel
collision, unconsumed selectors and generic fence scopes. Lower fixture
MOV pseudos before direct native packing, as production already does.

Signed-off-by: Diljit Singh <hey@djdev.me>
The view index is uniform across a multiview mesh workgroup. Write it into
every vertex's layer word so primitives can keep shared vertices instead
of receiving private exported copies. Read the multiview fragment layer
from the root view index, retaining the existing viewport guards.

Keep the core export-phase fences. Other chip/stage paths and primitive
Layer or viewport fallbacks retain their existing behavior.

Signed-off-by: Diljit Singh <hey@djdev.me>
@DjDeveloperr
DjDeveloperr marked this pull request as ready for review November 17, 2026 18:14
@DjDeveloperr
DjDeveloperr merged commit be2f7a0 into aurora-edge Nov 17, 2026
@RyanTheTide
RyanTheTide deleted the djdev/edge-g17p-mesh-layer branch November 17, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant